// let decoder= new TextDecoder('utf8')
// // only support utf8 
// let encoder= new TextEncoder()

// let buffer= encoder.encode('动漫')
// btoa

const Base64 = require('js-base64').Base64
console.log(Base64.encode('动漫'))